﻿package plugin.gameHall.game
{
    import flash.net.*;
    import morn.core.handlers.*;
    import plugin.gameHall.*;
    import uiresource.gameHall.*;

    public class GameHallCon extends GameHallUI
    {
        private var _instance:GameHall;

        public function GameHallCon(param1:GameHall)
        {
            this._instance = param1;
            this.initEvent();
            return;
        }// end function

        private function initEvent() : void
        {
            btn_colse.clickHandler = new Handler(this.doClose);
            btn_xiazai.clickHandler = new Handler(this.doDownload);
            return;
        }// end function

        private function doDownload() : void
        {
            var _loc_1:* = new URLRequest("http://s.1360.cn/yxdtsgws");
            navigateToURL(_loc_1);
            return;
        }// end function

        private function doClose() : void
        {
            this._instance.close();
            return;
        }// end function

    }
}
